<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>门禁进出记录</title>
    <link href="../lib/layui/css/layui.css" rel="stylesheet" type="text/css" media="screen" />
    <script src="../lib/jquery-3.3.1.min.js" type="text/javascript" ></script>
    <script src="../lib/layui/layui.js" type="text/javascript" ></script>
    <script src="../js/cdacscontrolmgr/passRecord.js" type="text/javascript" ></script>
    <script type="text/html" id="barOperate">
        <button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="xrjl">行人记录</button>
        <button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="cxjl">车行记录</button>
        <button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="xrlfjl">行人来访记录</button>
        <button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="cxlfjl">车行来访记录</button>
        <button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="snapRecord">抓拍记录</button>
        <button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="carInside">场内车辆</button>
    </script>
    <script type="text/html" id="barOperate2">
        <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="image">图像记录</a>
    </script>
</head>
<body class="layui-layout-body" style="background-color:white;padding: 10px">
    <div id="imageDiv" style="display: none">
        <form class="layui-form"  id="image_form" style="margin-top:1%">
            <div class="layui-upload-list">
                <img class="layui-upload-img" id="picture" />
            </div>

        </form>
    </div>

    <div id="xrRecordDiv" style="display: none">
        <form class="layui-form" id="xrRecord_form" style="margin-top:1%">
            <input type="hidden" id="xrProjectId" name="projectId">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <div class="layui-form-label">开门人:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="searchOpenUser" autocomplete="off"
                               placeholder="开门人">
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-form-label">联系电话:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="searchPhone" autocomplete="off"
                               placeholder="联系电话">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">开启门禁:</label>
                    <div class="layui-input-inline" >
                        <select name="acsName" id="acsName" lay-filter="acsName" lay-search="">
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">开门人身份:</label>
                    <div class="layui-input-inline" >
                        <select name="openUserSf" id="openUserSf" lay-filter="openUserSf" lay-search="">
                            <option value="">全部</option>
                            <option value="业主">业主</option>
                            <option value="来访人员">来访人员</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">开门方式:</label>
                    <div class="layui-input-inline" >
                        <select name="openType" id="openType" lay-filter="openType" lay-search="">
                            <option value="">全部</option>
                            <option value="人脸识别">人脸识别</option>
                            <option value="指纹">指纹</option>
                            <option value="临时密码">临时密码</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">开门时间:</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openBeginDate" placeholder="开始时间">
                    </div>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openEndDate" placeholder="结束时间">
                    </div>
                </div>
                <button class="layui-btn layui-btn-normal" id="queryXrRecord" lay-submit="" lay-filter="queryXrRecord">查询</button>
                <button class="layui-btn" type="reset" >重置</button>
            </div>
            <table id="xrRecordTable" lay-filter="xrRecordTable" style="width: 100%;"></table>
        </form>
    </div>

    <div id="cxRecordDiv" style="display: none">
        <form class="layui-form" id="cxRecord_form" style="margin-top:1%">
            <input type="hidden" id="cxProjectId" name="projectId">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <div class="layui-form-label">车牌号:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="searchCarNo" autocomplete="off"
                               placeholder="车牌号">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">经过道闸:</label>
                    <div class="layui-input-inline" >
                        <select name="signoName" id="signoName" lay-filter="signoName" lay-search="">
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">车辆类别:</label>
                    <div class="layui-input-inline" >
                        <select name="categoryId" id="categoryId" lay-filter="categoryId" lay-search="">
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">进/出:</label>
                    <div class="layui-input-inline" >
                        <select name="direction" id="direction" lay-filter="direction" lay-search="">
                            <option value="">全部</option>
                            <option value="进">进</option>
                            <option value="出">出</option>
                        </select>
                    </div>
                </div>

                <div class="layui-inline">
                    <label class="layui-form-label">进出时间:</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openBeginDate2" placeholder="开始时间">
                    </div>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openEndDate2" placeholder="结束时间">
                    </div>
                </div>
                <button class="layui-btn layui-btn-normal" id="queryCxRecord" lay-submit="" lay-filter="queryCxRecord">查询</button>
                <button class="layui-btn" type="reset" >重置</button>
            </div>
            <table id="cxRecordTable" lay-filter="cxRecordTable" style="width: 100%;"></table>
        </form>
    </div>

    <div id="xrlfRecordDiv" style="display: none">
        <form class="layui-form" id="xrlfRecord_form" style="margin-top:1%">
            <input type="hidden" id="xrlfProjectId" name="projectId">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <div class="layui-form-label">业主:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="owner" autocomplete="off"
                               placeholder="业主">
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-form-label">来访人:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="visitor" autocomplete="off"
                               placeholder="来访人">
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-form-label">联系电话:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="phone2" autocomplete="off"
                               placeholder="联系电话">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">开门时间:</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openBeginDate3" placeholder="开始时间">
                    </div>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openEndDate3" placeholder="结束时间">
                    </div>
                </div>
                <button class="layui-btn layui-btn-normal" id="queryXrlfRecord" lay-submit="" lay-filter="queryXrlfRecord">查询</button>
                <button class="layui-btn" type="reset" >重置</button>
            </div>
            <table id="xrlfRecordTable" lay-filter="xrlfRecordTable" style="width: 100%;"></table>
        </form>
    </div>

    <div id="cxlfRecordDiv" style="display: none">
        <form class="layui-form" id="cxlfRecord_form" style="margin-top:1%">
            <input type="hidden" id="cxlfProjectId" name="projectId">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <div class="layui-form-label">车牌号:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="searchCarNo2" autocomplete="off"
                               placeholder="车牌号">
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-form-label">业主:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="owner2" autocomplete="off"
                               placeholder="业主">
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-form-label">联系电话:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="phone3" autocomplete="off"
                               placeholder="联系电话">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">通行时间:</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openBeginDate4" placeholder="开始时间">
                    </div>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="openEndDate4" placeholder="结束时间">
                    </div>
                </div>
                <button class="layui-btn layui-btn-normal" id="queryCxlfRecord" lay-submit="" lay-filter="queryCxlfRecord">查询</button>
                <button class="layui-btn" type="reset" >重置</button>
            </div>
            <table id="cxlfRecordTable" lay-filter="cxlfRecordTable" style="width: 100%;"></table>
        </form>
    </div>
    <div id="carInsideDiv" style="display: none">
        <form class="layui-form" id="carInside_form1" style="margin-top:1%">
            <input type="hidden" id="projectId" name="projectId">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <div class="layui-form-label" style="width: 120px" >场内车辆总数:
                        <label id="carInsideTotal" style="color: green">0</label>
                    </div>
                    <div class="layui-form-label">车牌号:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="searchCarNo3" autocomplete="off"
                               placeholder="车牌号">
                    </div>
                    <label class="layui-form-label">已停留时间:</label>
                    <div class="layui-input-inline" >
                        <select name="stayTime" id="stayTime" lay-filter="stayTime">
                            <option value="">全部</option>
                            <option value="1">12h以内</option>
                            <option value="2">12至24h</option>
                            <option value="3">1至3天</option>
                            <option value="4">3至30天</option>
                            <option value="5">30至180天</option>
                            <option value="6">180天以上</option>
                        </select>
                    </div>
                    <button class="layui-btn" id="queryCarInside" lay-submit="" lay-filter="queryCarInside">查询</button>
                    <button class="layui-btn" type="reset" >重置</button>
                    <button class="layui-btn layui-btn-normal" id="artificialCorrect" type="button">人工纠正</button>
                </div>
            </div>
            <table id="carInsideTable" lay-filter="carInsideTable" style="width: 100%;"></table>
        </form>
    </div>

    <div id="artificialCorrectDiv" style="display: none">
        <form class="layui-form" id="carInside_form" style="margin-top:1%">
            <div class="layui-form-item">
                <h2 style="margin: 10px">是否确定将该车辆移出场内车辆?</h2>
                <div class="layui-form-label">备注:</div>
                <div class="layui-input-block">
                    <textarea placeholder="备注内容" id="remark" name="remark" class="layui-textarea"></textarea>
                </div>
            </div>
        </form>
    </div>

    <div class="layui-tab-brief" lay-filter="docDemoTabBrief">
        <div style="margin-left:5px;margin-top:10px; height: 45px">
            <form class="layui-form">
                <div class="layui-inline">
                    <div class="layui-input-inline">项目名称:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="searchName" autocomplete="off"
                               placeholder="项目名称">
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-inline">项目编号:</div>
                    <div class="layui-input-inline" >
                        <input class="layui-input" id="searchCode" autocomplete="off"
                               placeholder="项目编号">
                    </div>
                </div>
                <div class="layui-inline" >
                    <button class="layui-btn" lay-submit="" lay-filter="queryYard" >查询</button>
                    <button class="layui-btn" type="reset" >重置</button>
                </div>

            </form>
            <table id="myYardTable" lay-filter="myYardTable" style="width: 100%;"></table>

        </div>
    </div>
</body>
<div id="snapRecordDiv" style="display: none">
    <form class="layui-form" id="snapRecord_form" style="margin-top:1%">
        <input type="hidden" id="yardId2" name="yardId">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">抓拍日期:</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="capDate" placeholder="抓拍日期">
                </div>
            </div>
            <button class="layui-btn layui-btn-normal" id="querySnapRecord" lay-submit="" lay-filter="querySnapRecord">查询</button>
            <button class="layui-btn" type="reset" >重置</button>
        </div>
        <table id="snapRecordTable" lay-filter="snapRecordTable" style="width: 100%;"></table>
    </form>
</div>
</html>